<?php
/**
 * Author: Administrator
 * Date: 2022/7/16 2:29
 */

namespace DesignPatterns\Creation\Prototype;


abstract class BookPrototype
{
    protected $title;
    protected $category;

    abstract public function __clone();

    public function getCategory() {
        return $this->category;
    }
    public function setTitle($title) {
        $this->title = $title;
    }
}